import 'package:flutter/services.dart';

class Satelliteinfo {
  static Satelliteinfo? _instance;

  Satelliteinfo._();

  static Satelliteinfo get instance => _instance ??= Satelliteinfo._();

  final MethodChannel _channel = const MethodChannel('satellite_info_channel');

  Future<int> getSatelliteCount() async {
    final int satelliteCount = await _channel.invokeMethod('getSatelliteCount');
    return satelliteCount;
  }
}
